package com.itheima.springboottlias.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "aliyun.oss")//一次获取配置文件中的多个参数
public class AliyunOSSProperties {
    private String endpoint;
    private String bucketName;

}
